package com.oa.ylms.apps.entity.archives;

import java.io.Serializable;
import java.util.Date;

import com.oa.ylms.apps.common.DateUtil;

@SuppressWarnings("serial")
public class RPInfoValue implements Serializable {

	// Fields

	private Integer rpId;
	private ArchiveInfoValue archiveInfo;
	private RPCategoryValue rpCategory;
	private Date createTime;
	@SuppressWarnings("unused")
	private String strCreateTime;
	private String contents;
	
	// Property accessors
	
	public Integer getRpId() {
		return rpId;
	}
	public void setRpId(Integer rpId) {
		this.rpId = rpId;
	}
	public ArchiveInfoValue getArchiveInfo() {
		return archiveInfo;
	}
	public void setArchiveInfo(ArchiveInfoValue archiveInfo) {
		this.archiveInfo = archiveInfo;
	}
	public RPCategoryValue getRpCategory() {
		return rpCategory;
	}
	public void setRpCategory(RPCategoryValue rpCategory) {
		this.rpCategory = rpCategory;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getContents() {
		return contents;
	}
	public void setContents(String contents) {
		this.contents = contents;
	}
	public void setStrCreateTime(String strCreateTime) {
		this.strCreateTime = strCreateTime;
	}
	public String getStrCreateTime() {
		return DateUtil.toStringWithoutHours(createTime);
	}
}
